package com.p04.study;

import com.p04.inters.IFuelCar;
import com.p04.inters.IMaintenance;

import javax.xml.catalog.CatalogException;

public class BMwCar implements IFuelCar, IMaintenance {
    @Override
    public void turnupEngine() {
        System.out.println("调节宝马车的引擎");
    }

    @Override
    public void changeOil() {
        System.out.println("给宝马车换机油");
    }

    @Override
    public void maintenance() {
        System.out.println("给宝马车做保养");
    }
}
